package com.healthcloud.service.rent;

import com.healthcloud.entity.rent.InstrumentWechatEntity;
import com.healthcloud.utils.PageParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InstrumentWechatService {

	List<InstrumentWechatEntity> queryList(InstrumentWechatEntity entity, PageParam pageParam);

    void delete(Long id);

    void update(InstrumentWechatEntity entity);
    void save(InstrumentWechatEntity entity);

    InstrumentWechatEntity getBySn(String sn);
    InstrumentWechatEntity getBySnAndOpenId(String sn, String openId);
    InstrumentWechatEntity getByOpenId(String openId);
    InstrumentWechatEntity getByOpenIdLimit(String openId);

    InstrumentWechatEntity getByIdCardLimit(String idCard);
    InstrumentWechatEntity getBySnAndIdCard(String sn, String idCard);

}
